#!/bin/sh
#error and exit = set -e
#set -o errexit
#color
source /etc/init.d/functions
red='\033[0;31m'
green='\033[0;32m'
yellow='\033[0;33m'
plain='\033[0m'

toolsName="glibc-langpack-en libseccomp libtool-ltdl device-mapper-persistent-data lvm2 conntrack-tools ipvsadm ipset chrony net-tools dnf-utils lsof telnet traceroute mtr bash-completion vim-enhanced git jq sysstat iotop iftop htop tree nc unzip zip lrzsz tcptraceroute glances haproxy python3-pip screen cloud-utils-growpart qemu-guest-agent cloud-init"

function deal(){
  yum install $toolsName -y > /dev/null 2>&1
}


function main(){
  action "$0" deal
}

main $*
